package com.Sdebruijn.curriculumvitae;

import android.os.Bundle;
import android.widget.RelativeLayout;

import com.Sdebruijn.curriculumvitae.asynctask.LoadCourseDataAsyncTask;

/**
 * Activity showing a list of my extra followed courses
 * 
 * @author Stefan de Bruijn
 * 
 */
public class CourseActivity extends BaseActivity {
	private LoadCourseDataAsyncTask mLoadCourseDataAsyncTask;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_course);
		getSupportActionBar().setTitle("Cursussen");
		getSupportActionBar().setLogo(R.drawable.icon_android);

		RelativeLayout rl_course_data = (RelativeLayout) findViewById(R.id.rl_course_data);

		mLoadCourseDataAsyncTask = new LoadCourseDataAsyncTask(rl_course_data, this);
		mLoadCourseDataAsyncTask.execute();
	}

}
